package fulbiNet.negocio;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.Collection;

import fulbiNet.dao.CanchaDAO;
import fulbiNet.execpcion.DAOExcepcion;
import fulbiNet.modelo.Cancha;


public class BuscarCanchaNegocio {
	
	public Collection<Cancha> Buscar_Cancha(Timestamp sdDesde, Timestamp sdHasta, String sidistrito) throws DAOExcepcion {
		
		CanchaDAO dao = new CanchaDAO();
		Collection<Cancha> lCancha;
		
		try
		{
			lCancha = dao.buscar(sdDesde, sdHasta, sidistrito);
		}
		catch (DAOExcepcion e) 
		{
			throw e;
		}
		
		return lCancha;
	}
}

	